package org.misalen.web.database.model.mysql.pro;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.misalen.annotations.ModelComment;
import org.misalen.web.database.model.mysql.BaseSqlModel;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

/**
 * 普通用户表
 * 
 * @author guochao
 *
 */
@Entity
@Table(name = "ProUserBanner")
@DynamicInsert(true)
@DynamicUpdate(true)
@JsonIgnoreProperties({ })
public class ProUserBanner extends BaseSqlModel {

	@ModelComment("banner名称")
	@Column(name = "name", length = 50, nullable = false)
	private String name;

	@ModelComment("跳转地址")
	@Column(name = "jumpUrl", length = 255, nullable = false)
	private String jumpUrl;

	@ModelComment("图片地址")
	@Column(name = "imageUrl", length = 255, nullable = false)
	private String imageUrl;

	/**
	 * 获取name
	 * 
	 * @return name name
	 */
	public String getName() {
		return name;
	}

	/**
	 * 设置name
	 * 
	 * @param name
	 *            name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 获取jumpUrl
	 * 
	 * @return jumpUrl jumpUrl
	 */
	public String getJumpUrl() {
		return jumpUrl;
	}

	/**
	 * 设置jumpUrl
	 * 
	 * @param jumpUrl
	 *            jumpUrl
	 */
	public void setJumpUrl(String jumpUrl) {
		this.jumpUrl = jumpUrl;
	}

	/**
	 * 获取imageUrl
	 * 
	 * @return imageUrl imageUrl
	 */
	public String getImageUrl() {
		return imageUrl;
	}

	/**
	 * 设置imageUrl
	 * 
	 * @param imageUrl
	 *            imageUrl
	 */
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

}
